package com.itheima.dao;

import com.itheima.pojo.Account;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface AccountDao {
    public List<Account> findAll();

    public void insertAccount(Account account);

    public Account findById(int id);

    public void updateMoney(Account account);

    public void updateAccount(Account account);

    public void deleteAccount(int id);
}
